#include <stdio.h>

namespace sg
{

	class Me;

	class Brother
	{
	public:
		Brother()
		{
			printf("Brother constructor called\n");
		}
		void GetAge(Me& me);
	};

	class Me
	{
	public :
		explicit Me(const char* age)
		{
			printf("Me::Me() age:%s\n",age);
			this->age = age;
		}
		friend void Brother::GetAge(Me& me);
	private :
		const char* age;
	};
	
	void Brother::GetAge(Me& me)
	{
		printf("My Brother's age is => %s\n",me.age);
	}

}

int main()
{
	sg::Me me("21");
	sg::Brother my_brother;

	my_brother.GetAge(me);

	return 0;
}


